1ba912cb71b4ea4cc915047f2e168eb76087d31e,policy/src/main/java/brooklyn/policy/autoscaling/AutoScalerPolicy.java,AutoScalerPolicy,calculateDesiredPoolSize,#number#,859
Before Change
*/
private CalculatedDesiredPoolSize calculateDesiredPoolSize(long currentPoolSize) {
long now = System.currentTimeMillis();
WindowSummary downsizeSummary = recentDesiredResizes.summarizeWindow(getResizeDownStabilizationDelay());
WindowSummary upsizeSummary = recentDesiredResizes.summarizeWindow(getResizeUpStabilizationDelay());
// this is the _sustained_ growth value; the smallest size that has been requested in the "stable-for-growing" period
After Change
*/
private CalculatedDesiredPoolSize calculateDesiredPoolSize(long currentPoolSize) {
long now = System.currentTimeMillis();
WindowSummary downsizeSummary = recentDesiredResizes.summarizeWindow(getResizeDownStabilizationDelay().toMilliseconds());
WindowSummary upsizeSummary = recentDesiredResizes.summarizeWindow(getResizeUpStabilizationDelay().toMilliseconds());
// this is the _sustained_ growth value; the smallest size that has been requested in the "stable-for-growing" period